﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/TemplateUser.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="ManageBanking.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <link href="../../Content/css/news.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <div class="center_block_top"><span>&nbsp;</span><h3>Home</h3></div> <!--top-->
    
    <div class="center_block_mau"><!--center-->  
        <div id="intro">
        <div class="box_sp_abc">
            <table class="tablenews" cellspacing="0" border="0" style="border-collapse:collapse;" id="plcRoot_Layout_zoneMenu_PagePlaceholder_PagePlaceholder_Layout_zoneCanhan_pageplaceholder_pageplaceholder_Layout_zoneContent_cmsdatalist_lstElem">
	            <tbody>
            	
	                <tr>
		                <td>
		                    <ul class="newsul">
		                       <% 
		                         List<NewsBanking> ln = (List<NewsBanking>)ViewData["listnews"];
                                 foreach (NewsBanking n in ln) 
                                 { %> 
		                            <li class="newsli">
		                                <div style="_margin-bottom:5px;" class="box_sp_sub">
                                            <div style="float:left;width:100%;margin-top:5px;margin-bottom:5px;padding-bottom:5px;padding-right:3px;">
                                        <div class="news_list module_center">
	                                        <a  style="color:black;" href='<%= Url.Action("DetailNews/" + n.idnews, "News") %>'>
	                                            <img class="news" width="130" height="130" border="0" align="left" src='../../Content/images/news/<%= n.imagesnews %>'>
    	                                    </a>  <!--images-->
                    	                     
                    	                      
    	                                    <div style="text-align:top;" class="news_teaser">
	                                            <strong style="color:#26469B;">	
	                                                <a style="color:black;" href='<%= Url.Action("DetailNews/" + n.idnews, "News") %>'><%= n.titlenews %></a>
	                                            </strong><br>
                                                <%= n.titlenews1 %>
    	                                    </div>
    	                                    <div ><a class="seemore" href='<%= Url.Action("DetailNews/" + n.idnews, "News") %>'>See more...</a></div>
                                        </div>
                                    </div>
                                        </div>
		                            </li>
		                        <%} %>
		                    </ul>
                        </td>
	                </tr>
            	    
            	    
                </tbody>
            </table>

        </div>
        
        
        </div>
    </div><!--//section--> 
    
    <div class="center_block_bottom_mau"></div>  <!--bottom-->
    

</asp:Content>

